package com.zs.demo.status;

import com.zs.demo.common.response.IResponseStatus;
import com.zs.demo.common.util.BussinessCode;
import lombok.AllArgsConstructor;

/* @Desc: 资源-响应状态码
 * @author:zhengs
 * @Time: 2018/11/20 10:07
 * @Copyright: © zhengs 版权所有  
 * @Warning: 本内容仅限于本公司内部传阅,禁止外泄或用于其它商业目的
 */
@AllArgsConstructor
public enum ResourceStatus implements IResponseStatus {
    RESOURCE_NOT_EXISTS(BussinessCode.LOGIN +1,"该资源不存在");

    public Integer code;

    public String msg;

    public Integer getStatus(){
        return this.code;
    }

    public String getMsg(){
        return this.msg;
    }
}
